Skip to main content

CurrentInvoke

@h4ad/serverless-adapter > CurrentInvoke

(type) CurrentInvoke

The type that represents the object that handles the references to the event created by the serverless trigger or context created by the serverless environment.

Signature:

export type CurrentInvoke<TEvent, TContext> = \{
event: TEvent | null;
context: TContext | null;
};